﻿using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using Hidistro.SaleSystem.Catalog;
using System.Web;
using System.Web.UI;
using Hidistro.Entities.Commodities;
using Hidistro.Core;

namespace Hidistro.UI.SaleSystem.Tags
{
    public class wnxd_DigitalDisplay : WebControl
    {
        protected override void Render(HtmlTextWriter writer)
        {
            writer.Write(this.RendHtml());
        }
        public string RendHtml()
        {
            return "<b style=\"position:relative;top:9px;left:-12px\">(" + this.ShowCount + ")</b>";
        }
        public int type
        {
            set
            {
                base.ID = "wnxd_DigitalDisplay" + value;
            }
        }
        public int ShowCount { get; set; }
    }
}
